<?php
require_once '../../session_user.php';
if($codUe){
	$oUE = HallazgoBN::obtenerPorPK($codUe);
	$oUE->setCodUEText("");
	$accion = "edit";
	
	$a_codes = split(",",$codes);
	foreach ($a_codes as $id){
		$obj = MmUePeer::retrieveByPK($codUe, $id);
		$obj->setEstado("I");
		$obj->save();
	}
	
	
}else{
	$oUE = new Uestratigrafica();
	$accion = "add";
	
}

include_once($URL_ACCESO.'aUEstratigrafica.php'); 
include_once('_multimedia.php');				
?>